package com.hawthorn.admin.service.sysmessage;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

/**
 * <p>todo 系统消息服务接口 </p>
 * @author: andyten@tom.com | xukaixing@hotmail.com
 * @created: 2021/12/1 11:13 AM
 * @version v1.0.1
 * @copyright: Copyright (c)  andyten
 */
public interface SysMessageService
{
  IPage<Map<String, Object>> findAllMsg(Page<Map<String, Object>> page, String qc);

  List<Map<String, Object>> findMsgOneWeek(String userAccount);

  List<Map<String, Object>> findMsgOneWeek2(String userAccount);

  Integer findMsgOneWeekNums(String userAccount);

  List<Map<String, Object>> findMsgForceView(String userAccount);

  void updateMsgForFinish(Long msgId, String userAccount);
}
